package com.authine.cloudpivot.ext.enums.order;

import java.util.Arrays;
import java.util.List;

/**
 * 复杂查询类型
 *
 * @author 张天赐
 */
public enum ComplexTypeEnum {
    /**
     * 类型
     */
    COUNT,
    GROUP_BY,
    GROUP_BY_TO_CHAR,
    TO_CHAR,
    SUM,
    ;

    public static List<ComplexTypeEnum> getSortable() {
        return Arrays.asList(ComplexTypeEnum.GROUP_BY, ComplexTypeEnum.GROUP_BY_TO_CHAR);
    }
}
